package com.zzyl.service;

import com.zzyl.base.ResponseResult;
import com.zzyl.dto.ResourceDto;
import com.zzyl.vo.ResourceVo;
import com.zzyl.vo.TreeVo;

import java.util.List;

public interface ResourceService {
    //查询资源列表
    List<ResourceVo> getList(ResourceDto resourceDto);

    //资源树形
    TreeVo resourceTreeVo(ResourceDto resourceDto);

    //添加资源
    void createResource(ResourceDto resourceDto);

    //资源修改
    void updateResource(ResourceDto resourceDto);

    //启用-禁用
    void updateResourceStatus(ResourceDto resourceDto);

    //删除菜单
    void remove(String resourceNo);
}
